
/* 购物车二级下拉 */
.xtx_head .xtx_search a.iconfont  .xtx_car_layer {
     opacity: 0;
    transition: all .4s .2s;
    transform: translateY(-200px) scaleY(0);
    width: 400px;
    height: 400px;
    position: absolute;
    top: 50px;
    right: 0;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    background: #fff;
    border-radius: 4px;
    padding-top: 10px;
}
.xtx_head .xtx_search a.iconfont:hover .xtx_car_layer {
    z-index: 6;
    opacity: 1;
    transform: none;
}
.xtx_head .xtx_search a.iconfont  .xtx_car_layer:before {
    content: "";
    position: absolute;
    right: 14px;
    top: -10px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: scaleX(.6) rotate(45deg);
    box-shadow: -3px -3px 5px rgba(0,0,0,.1);
}
.xtx_head .xtx_search a.iconfont  .xtx_car_layer .list {
    height: 310px;
    overflow: auto;
    padding: 0 10px;
}
.xtx_car_layer .list .item {
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 0;
    position: relative;
}
.xtx_car_layer .list .item  a{
    display: flex;
    align-items: center;
}
.xtx_car_layer .list .item img {
    width: 80px;
    height: 80px;
}
.xtx_car_layer .list .item .center {
    padding: 0 10px;
    width: 200px;
}
.xtx_car_layer .list .item .center .name {
    font-size: 16px;
}
.xtx_car_layer .list .item .center .attr {
    color: #999;
    padding-top: 5px;
    overflow: hidden;
}
.xtx_car_layer .list .item  .right{
    width: 100px;
    padding-right: 20px;
    text-align: center; 
}
.xtx_car_layer .list .item  .right .price{
    font-size: 16px;
    color: #cf4444;
}
.xtx_car_layer .list .item  .right .count {
    color: #999;
    margin-top: 5px;
    font-size: 16px;
}
.xtx_car_layer .list .item i {
    position: absolute;
    bottom: 38px;
    right: 0;
    opacity: 0;
    color: #666;
    transition: all .5s;
}
.xtx_car_layer .list .item:hover i {
    opacity: 1;
    cursor: pointer;
}
.xtx_head .xtx_search a.iconfont  .xtx_car_layer .xtx_foot {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 70px;
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    background: #f8f8f8;
    align-items: center;
}
.xtx_head .xtx_search a.iconfont  .xtx_car_layer .xtx_foot .total {
    padding-left: 10px;
    color: #999;
}
.xtx_head .xtx_search a.iconfont  .xtx_car_layer .xtx_foot .total p:last-child {
    font-size: 18px;
    color: #cf4444;
}
.xtx_head .xtx_search a.iconfont  .xtx_car_layer .plain {
    width: 180px;
    height: 50px;
    font-size: 16px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    border-color: #27ba9b;
    color: #27ba9b;
    background: #e6faf6;
    
}